<%--
  Created by IntelliJ IDEA.
  User: jashi
  Date: 2024/9/5
  Time: 上午8:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Pay</title>
</head>
<body>
<input type="button" value="Pay" onclick="closeWindow()"/>
</body>
<script>
    function closeWindow() {
        if (window.opener && !window.opener.closed) {
            window.opener.paySuccess();
        }
        window.close();
    }
</script>
</html>
